/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import net.minecraft.client.audio.SoundEventAccessor;
/*    */ import net.minecraft.util.ResourceLocation;
/*    */ import net.minecraft.util.SoundCategory;
/*    */ 
/*    */ 
/*    */ public class vz
/*    */ {
/*    */   public String z;
/*    */   public ResourceLocation i;
/*    */   public SoundEventAccessor w;
/*    */   public gr q;
/*    */   public SoundCategory g;
/*    */   
/*    */   public vz(ResourceLocation resourceLocation, SoundCategory soundCategory) throws NullPointerException, li {
/* 17 */     if (resourceLocation == null) {
/* 18 */       throw new NullPointerException("Sound location is NULL!");
/*    */     }
/* 20 */     this.i = resourceLocation;
/* 21 */     this.g = soundCategory;
/* 22 */     if (this.g == null) {
/* 23 */       this.g = SoundCategory.MASTER;
/*    */     }
/*    */ 
/*    */ 
/*    */     
/* 28 */     v();
/*    */   }
/*    */ 
/*    */ 
/*    */   
/*    */   public static vz v(ResourceLocation a, SoundCategory soundCategory) throws li, NullPointerException {
/* 34 */     return new vz(a, soundCategory);
/*    */   }
/*    */ 
/*    */   
/*    */   public boolean v() {
/*    */     try {
/* 40 */       this.q = new gr(this, this.i, this.g, 1.0F, 1.0F);
/* 41 */       this.w = new SoundEventAccessor(this.i, null);
/* 42 */       return true;
/* 43 */     } catch (Exception exception) {
/* 44 */       exception.printStackTrace();
/*    */       
/* 46 */       return false;
/*    */     } 
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\vz.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */